home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000298_Martyn.Johnson@cl.cam.ac.uk_Wed Feb 9 12:37:25 1994.msg < prev    next >
Internet Message Format  |  1994-10-11  |  2KB

  1. Received: from swan.cl.cam.ac.uk by cs.umb.edu with SMTP id AA17157
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Wed, 9 Feb 1994 23:50:03 -0500
  3. Received: from labes.cl.cam.ac.uk (user maj (rfc931)) by swan.cl.cam.ac.uk 
  4.           with SMTP (PP-6.5) to cl; Wed, 9 Feb 1994 12:37:32 +0000
  5. To: tex-k@cs.umb.edu
  6. Cc: Martyn.Johnson@cl.cam.ac.uk
  7. Subject: Another top-level Makefile.in problem
  8. Date: Wed, 09 Feb 1994 12:37:25 +0000
  9. From: Martyn Johnson <Martyn.Johnson@cl.cam.ac.uk>
  10. Message-Id: <"swan.cl.cam.:071590:940209123740"@cl.cam.ac.uk>
  11.  
  12. If you customise your local paths in the top level Makefile.in and
  13. kpathsea/paths.h.in (and NOT the Makefile.in files in other
  14. directories) then everything works fine provided that you do all
  15. your builds from the top level.
  16.  
  17. UNLESS, that is, the first thing you do after configure is make a web2c
  18. target such as "make triptrap".  If you do this, kpathsea gets rebuilt
  19. from the web2c Makefile rather than the top level Makefile. 
  20. Unfortunately this Makefile does not pass down all the paths, with the
  21. result that kpathsea/paths.h is generated wrong.
  22.  
  23. The simplest fix is to add "do-kpathsea" to the dependencies for the
  24. web2c targets in the top level Makefile.in.  This causes kpathsea to be
  25. built immediately from the top level Makefile. (My proposal for
  26. stuffing all the paths into all of the Makefiles automatically would
  27. also solve it, of course).
  28.  
  29. Here's a patch:
  30.  
  31. *** Makefile.in.orig    Wed Feb  9 12:32:48 1994
  32. --- Makefile.in    Wed Feb  9 12:33:27 1994
  33. ***************
  34. *** 139,145 ****
  35.   c-sources programs \
  36.   TeX MF BibTeX \
  37.   formats fmts bases \
  38. ! manpages install-manpages:
  39.       cd web2c; $(MAKE) $(makeargs) $@
  40.   
  41.   configure_in = $(srcdir)/configure.in
  42. --- 139,145 ----
  43.   c-sources programs \
  44.   TeX MF BibTeX \
  45.   formats fmts bases \
  46. ! manpages install-manpages: do-kpathsea
  47.       cd web2c; $(MAKE) $(makeargs) $@
  48.   
  49.   configure_in = $(srcdir)/configure.in
  50.  
  51.  
  52.  
  53. Martyn Johnson      maj@cl.cam.ac.uk
  54. University of Cambridge Computer Lab
  55. Cambridge UK
  56.